#ifndef UPPERSETTEMPNETPARAMCMD_H
#define UPPERSETTEMPNETPARAMCMD_H

#include "Command/BaseCmd.h"
#include "Protocol/CloudProtocol.h"

class UpperSetTempNetParamCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = CloudProtocol::UpperSetTempNetParam};

    Q_INVOKABLE explicit UpperSetTempNetParamCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);

    quint8 mode() const;
    void setMode(const quint8 &mode);

private:
    quint8  m_mode;
};

#endif // UPPERSETTEMPNETPARAMCMD_H
